package com.mastercard.assets.util.dao;

import java.util.List;

import com.mastercard.assets.MasterCardException;
import com.mastercard.assets.jpa.TblAgencia;
import com.mastercard.assets.jpa.TblCategoria;
import com.mastercard.assets.jpa.TblCuenta;
import com.mastercard.assets.jpa.TblNivel;
import com.mastercard.assets.jpa.TblPaises;
import com.mastercard.assets.jpa.TblRole;
import com.mastercard.assets.jpa.TblSegmento;
import com.mastercard.assets.jpa.TblSubcateg;
import com.mastercard.assets.jpa.TblTipoCuenta;
import com.mastercard.assets.jpa.TblTipoCuentaReal;
import com.mastercard.assets.jpa.TblTipoProducto;
import com.mastercard.assets.jpa.TblProducto;
import com.mastercard.assets.jpa.TblTipoCampania;


public class MCCatalogs
{
	private static MCCatalogs catalogs ;
	
	private MCCatalogs( )
	{
		
	}
	
	public static MCCatalogs getCatalogs( )
	{
		if( catalogs == null )
			catalogs = new MCCatalogs( ) ;
		
		return catalogs ;
	}
	
	
	public List< TblTipoCuentaReal > getAllActiveRealCountTypes( )
	{
		return MasterCardDAO.getAllActiveRealCountTypes( ) ;
	}
	
	public List< TblTipoCuenta > getAllActiveCountTypes( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveCountTypes( ) ;
	}
	
	public List< TblCuenta > getAllActiveCounts( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveCounts( ) ;
	}
	
	public List< TblNivel > getAllActiveLevels( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveLevels( ) ;
	}
	
	
	public List< TblCategoria > getAllActiveCategory( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveCategorias( ) ;
	}
	
	public List< TblSubcateg > getAllActiveSubcategory( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveSubcategory( ) ;
	}
	
	public List< TblSegmento > getAllActiveSegments( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveSegments( ) ;
	}
	
	public List< TblTipoProducto > getAllActiveProductTypes( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveProductTypes( ) ;
	}
	
	public List< TblRole > getAllActiveRoles( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveRoles( ) ;
	}
        
        public List< TblAgencia > getAllActiveAgencies( )
		throws
			MasterCardException
	{
		return MasterCardDAO.getAllActiveAgencies( ) ;
	}
        
        public List< TblProducto > getAllActiveProduct ( ) 
                throws
                        MasterCardException
        {
                return MasterCardDAO.getAllActiveProduct( ) ;
        }
        
        public List< TblTipoCampania > getAllActiveCampaignTypes( ) 
                throws
                        MasterCardException
        {
            return MasterCardDAO.getAllActiveCampaignTypes( ) ;
        }
        
        public List< TblProducto > getAllActiveProductsWithProductType2( ) 
                throws
                        MasterCardException
        {
            return MasterCardDAO.getAllActiveProductsWithProductType2( ) ;
        }
        
        public List< TblProducto > getAllActiveProductsWithProductType3( ) 
                throws
                        MasterCardException
        {
            return MasterCardDAO.getAllActiveProductsWithProductType3( ) ;
        }
        
        public List< TblProducto > getAllActiveProductsWithProductType5( ) 
                throws
                        MasterCardException
        {
            return MasterCardDAO.getAllActiveProductsWithProductType5( ) ;
        }
          
        public List< TblPaises > getAllActiveCountryes( ) 
                throws
                        MasterCardException
        {
            return MasterCardDAO.getPaisesExceptoUno( ) ;
        }
	
}
